const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ClTTKau-mTpqt.js","assets/BdMG1a5XmTpqt.js","assets/MpnPZlTSagutd.js","assets/DrFvzlh8agutd.js","assets/9ND1FmV62IPdvA.css","assets/D4BkeypS1erk0s.css","assets/DxH1iWac8KySx.js"])))=>i.map(i=>d[i]);
import{d as m,p as I,a9 as o,s as f,i as w,B as a,Q as r,an as x,I as E,b as v,o as s,ah as L,c as l,e as b,ai as u,u as g,w as M}from"./DrFvzlh8agutd.js";import{_}from"./MpnPZlTSagutd.js";import{_ as $}from"./DY_D5Q_I2Xyf8y.js";const P=m({__name:"app-list-debug",setup(k){I("app-list-debug");const d=o(()=>Object.values(f.workspace?.items??{})),i=["type","id","title","raw"],y=w.list.poolBuffer,n=o({get:()=>a?.listSelected?.[0],set:c=>{c?a.listSelected=[c]:a.listSelected=[]}}),C=r(()=>_(()=>import("./ClTTKau-mTpqt.js"),__vite__mapDeps([0,1,2,3,4,5]))),h=r(()=>_(()=>import("./DxH1iWac8KySx.js"),__vite__mapDeps([6,3,2,4,1,5]))),p=o(()=>a.appMode?a.listAppMode??"pay":a.listMode??"compact"),z={table:{size:20,margin:6,component:C,header:h}},e=o(()=>z.table),A=x("debug",!1);return E(()=>A.value=!0),(c,T)=>(s(),v("div",{class:L(["app-list",[`app-list-mode-${p.value}`]])},[e.value.header?(s(),l(u(e.value.header),{key:0,columns:i})):b("",!0),(s(),l($,{key:p.value??"compact",data:d.value,"item-size":e.value.size,"pool-buffer":g(y),margin:e.value.margin},{default:M(({item:t,index:B})=>[(s(),l(u(e.value.component),{id:`list-${t._id}`,key:t._id,item:t,index:B,selected:n.value===t._id,"selected-last":n.value===t._id,size:e.value.size,columns:i,onClick:D=>n.value=t._id},null,8,["id","item","index","selected","selected-last","size","onClick"]))]),_:1},8,["data","item-size","pool-buffer","margin"]))],2))}}),S={class:"app-middle-container"},j=m({__name:"app-debug-list",setup(k){return(d,i)=>(s(),v("div",S,[g(f).workspace?.ready?(s(),l(P,{key:0})):b("",!0)]))}});export{j as default};